package hanlen.mq.starter.annotation;

import hanlen.mq.starter.configuration.EnableMqConfigurationImport;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.context.annotation.Import;

/**
 * 使用此注解，允许在程序中使用MQ
 *
 * @author MrYe
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(EnableMqConfigurationImport.class)
public @interface EnableMessageQueue {

}
